package com.fz.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Admin {
    private Integer id;
    private String username;
    private String phone;
    private String email;
    private String password;
    private boolean status;
    @JsonFormat(pattern = "YYYY-MM-dd",timezone ="GMT+8" )
    private Date createTime;
    @JsonFormat(pattern = "YYYY-MM-dd",timezone ="GMT+8" )
    private Date updateTime;
}
